[INFO] cloning repository https://github.com/marcusball/drink-list
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcusball/drink-list" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusball%2Fdrink-list", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusball%2Fdrink-list'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1d90411364881457275b0d449864419c26c01713
[INFO] building marcusball/drink-list against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusball%2Fdrink-list" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/marcusball/drink-list on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/marcusball/drink-list
[INFO] finished tweaking git repo https://github.com/marcusball/drink-list
[INFO] tweaked toml for git repo https://github.com/marcusball/drink-list written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/marcusball/drink-list already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pin-project-lite v0.1.2
[INFO] [stderr]   Downloaded actix-rt v1.1.0
[INFO] [stderr]   Downloaded pin-project-internal v0.4.6
[INFO] [stderr]   Downloaded pin-project v0.4.6
[INFO] [stderr]   Downloaded uom v0.31.1
[INFO] [stderr]   Downloaded tokio v0.2.9
[INFO] [stderr]   Downloaded diesel v1.4.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9dc5834fbf45ac0376eb7ce58c4b672399f50ed19dedd870c4104ab1c42fe630
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9dc5834fbf45ac0376eb7ce58c4b672399f50ed19dedd870c4104ab1c42fe630", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9dc5834fbf45ac0376eb7ce58c4b672399f50ed19dedd870c4104ab1c42fe630", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dc5834fbf45ac0376eb7ce58c4b672399f50ed19dedd870c4104ab1c42fe630", kill_on_drop: false }`
[INFO] [stdout] 9dc5834fbf45ac0376eb7ce58c4b672399f50ed19dedd870c4104ab1c42fe630
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 91637b098c1eb31936e98b92a9c31ff61dea3983ae8b511e587722c08b5f2472
[INFO] running `Command { std: "docker" "start" "-a" "91637b098c1eb31936e98b92a9c31ff61dea3983ae8b511e587722c08b5f2472", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.66
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.13
[INFO] [stderr]    Compiling memchr v2.3.0
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling copyless v0.1.4
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling bytestring v0.1.4
[INFO] [stderr]    Compiling uuid v0.6.5
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling indexmap v1.3.1
[INFO] [stderr]    Compiling num-bigint v0.2.5
[INFO] [stderr]    Compiling aho-corasick v0.7.6
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling hostname v0.1.5
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling flate2 v1.0.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling resolv-conf v0.6.2
[INFO] [stderr]    Compiling backtrace v0.3.42
[INFO] [stderr]    Compiling regex v1.3.3
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.3
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio v0.2.9
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling bigdecimal v0.1.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling derive_more v0.99.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.6
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling enum-as-inner v0.3.0
[INFO] [stderr]    Compiling async-trait v0.1.22
[INFO] [stderr]    Compiling actix-web-codegen v0.2.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.6
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling actix-threadpool v0.3.1
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling actix-rt v1.1.0
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling h2 v0.2.1
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.1
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling ipnetwork v0.15.1
[INFO] [stderr]    Compiling uom v0.31.1
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling diesel v1.4.4
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-cors v0.2.0
[INFO] [stderr]    Compiling drink-list v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `actix_web::Error as AWError`
[INFO] [stdout]  --> src/db.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as AWError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/db.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schema::entry`
[INFO] [stdout]    --> src/db.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         use schema::entry;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::Error as ActixError`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as ActixError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uom::si::f32::*`
[INFO] [stdout]  --> src/import.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uom::si::f32::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `centiliter`, `fluid_ounce`, `liter`, `milliliter`
[INFO] [stdout]   --> src/import.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use uom::si::volume::{centiliter, fluid_ounce, liter, milliliter};
[INFO] [stdout]    |                       ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/import.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |                     e => println!("{}", e.description()),
[INFO] [stdout]     |                                           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin/server.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin/server.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]   --> src/bin/server.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | use actix_web::{App, HttpRequest, HttpServer, Responder};
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/bin/server.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResponseStatus`
[INFO] [stdout]   --> src/bin/server.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 | use drink_list::api::{ApiResponse, ResponseStatus};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]   --> src/bin/server.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Connection, CreateDrink, CreateEntry, GetDrink, GetDrinks, GetEntry, Pool, UpdateEntry, DeleteEntry,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `future` is imported redundantly
[INFO] [stdout]    --> src/bin/server.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 24  | use futures::prelude::*;
[INFO] [stdout]     |     ------------------- the item `future` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 130 |     use futures::future;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 37s
[INFO] running `Command { std: "docker" "inspect" "91637b098c1eb31936e98b92a9c31ff61dea3983ae8b511e587722c08b5f2472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91637b098c1eb31936e98b92a9c31ff61dea3983ae8b511e587722c08b5f2472", kill_on_drop: false }`
[INFO] [stdout] 91637b098c1eb31936e98b92a9c31ff61dea3983ae8b511e587722c08b5f2472
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20c24e72da4ab1a5f2b4ffb175e106378821fe9d73dd96d3b1b8d2f3e2a75e4d
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "20c24e72da4ab1a5f2b4ffb175e106378821fe9d73dd96d3b1b8d2f3e2a75e4d", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `actix_web::Error as AWError`
[INFO] [stdout]  --> src/db.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as AWError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/db.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schema::entry`
[INFO] [stdout]    --> src/db.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         use schema::entry;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::Error as ActixError`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as ActixError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uom::si::f32::*`
[INFO] [stdout]  --> src/import.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uom::si::f32::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling drink-list v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `centiliter`, `fluid_ounce`, `liter`, `milliliter`
[INFO] [stdout]   --> src/import.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use uom::si::volume::{centiliter, fluid_ounce, liter, milliliter};
[INFO] [stdout]    |                       ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/import.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |                     e => println!("{}", e.description()),
[INFO] [stdout]     |                                           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin/server.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/bin/server.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HttpRequest`
[INFO] [stdout]   --> src/bin/server.rs:18:22
[INFO] [stdout]    |
[INFO] [stdout] 18 | use actix_web::{App, HttpRequest, HttpServer, Responder};
[INFO] [stdout]    |                      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `regex::Regex`
[INFO] [stdout]   --> src/bin/server.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use regex::Regex;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ResponseStatus`
[INFO] [stdout]   --> src/bin/server.rs:28:36
[INFO] [stdout]    |
[INFO] [stdout] 28 | use drink_list::api::{ApiResponse, ResponseStatus};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Connection`
[INFO] [stdout]   --> src/bin/server.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Connection, CreateDrink, CreateEntry, GetDrink, GetDrinks, GetEntry, Pool, UpdateEntry, DeleteEntry,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `future` is imported redundantly
[INFO] [stdout]    --> src/bin/server.rs:130:9
[INFO] [stdout]     |
[INFO] [stdout] 24  | use futures::prelude::*;
[INFO] [stdout]     |     ------------------- the item `future` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 130 |     use futures::future;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::Error as AWError`
[INFO] [stdout]  --> src/db.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as AWError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/db.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use chrono::{DateTime, Duration, Utc};
[INFO] [stdout]   |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `schema::entry`
[INFO] [stdout]    --> src/db.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |         use schema::entry;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::Error as ActixError`
[INFO] [stdout]  --> src/error.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use actix_web::Error as ActixError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uom::si::f32::*`
[INFO] [stdout]  --> src/import.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use uom::si::f32::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `centiliter`, `fluid_ounce`, `liter`, `milliliter`
[INFO] [stdout]   --> src/import.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 | use uom::si::volume::{centiliter, fluid_ounce, liter, milliliter};
[INFO] [stdout]    |                       ^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:146:13
[INFO] [stdout]     |
[INFO] [stdout] 146 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:350:13
[INFO] [stdout]     |
[INFO] [stdout] 350 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/bin/server.rs:388:13
[INFO] [stdout]     |
[INFO] [stdout] 388 |         Err(e) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/import.rs:373:43
[INFO] [stdout]     |
[INFO] [stdout] 373 |                     e => println!("{}", e.description()),
[INFO] [stdout]     |                                           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/import.rs:636:13
[INFO] [stdout]     |
[INFO] [stdout] 636 |             min,
[INFO] [stdout]     |             ^^^ expected struct `ApproxF32`, found `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/import.rs:637:13
[INFO] [stdout]     |
[INFO] [stdout] 637 |             max,
[INFO] [stdout]     |             ^^^ expected struct `ApproxF32`, found `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `QuantityRange` has no field named `approximate_min`
[INFO] [stdout]    --> src/import.rs:638:13
[INFO] [stdout]     |
[INFO] [stdout] 638 |             approximate_min: apprx_min,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `QuantityRange` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `min`, `max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `QuantityRange` has no field named `approximate_max`
[INFO] [stdout]    --> src/import.rs:639:13
[INFO] [stdout]     |
[INFO] [stdout] 639 |             approximate_max: apprx_max,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `QuantityRange` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `min`, `max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/import.rs:647:13
[INFO] [stdout]     |
[INFO] [stdout] 647 |             min,
[INFO] [stdout]     |             ^^^ expected struct `ApproxF32`, found `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/import.rs:648:13
[INFO] [stdout]     |
[INFO] [stdout] 648 |             max,
[INFO] [stdout]     |             ^^^ expected struct `ApproxF32`, found `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Abv` has no field named `approximate_min`
[INFO] [stdout]    --> src/import.rs:649:13
[INFO] [stdout]     |
[INFO] [stdout] 649 |             approximate_min: apprx_min,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `Abv` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `min`, `max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Abv` has no field named `approximate_max`
[INFO] [stdout]    --> src/import.rs:650:13
[INFO] [stdout]     |
[INFO] [stdout] 650 |             approximate_max: apprx_max,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ `Abv` does not have this field
[INFO] [stdout]     |
[INFO] [stdout]     = note: available fields are: `min`, `max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `drink-list`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "20c24e72da4ab1a5f2b4ffb175e106378821fe9d73dd96d3b1b8d2f3e2a75e4d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20c24e72da4ab1a5f2b4ffb175e106378821fe9d73dd96d3b1b8d2f3e2a75e4d", kill_on_drop: false }`
[INFO] [stdout] 20c24e72da4ab1a5f2b4ffb175e106378821fe9d73dd96d3b1b8d2f3e2a75e4d
